package track
{
	/**
	 * 轨迹类，抽象类用于被继承
	 **/
	public class TrackProto
	{
		/**用于存放Vector2D轨迹点的数组*/
		protected var _pathArr:Array;
		protected var _typeId:uint;
		protected var _subTypeId:uint;
		public function TrackProto():void
		{
			_pathArr = new Array();
		}
		
		/**
		 * @param subTypeId	某种轨迹typeId的具体轨迹点id
		 * @return Array
		 **/
		public function make(subTypeId:uint):Array{
			return _pathArr;
		}
			
/*----------------------getter and setter-------------------*/
		public function get pathArr():Array
		{
			return _pathArr;
		}

		public function set pathArr(value:Array):void
		{
			_pathArr = value;
		}

		/**道具移动路线类型
		 * 0--------------直线型
		 * 1--------------对角线型
		 * 2--------------矩形
		 * 3--------------圆形
		 * 4--------------8字形
		 * */
		public function get typeId():uint
		{
			return _typeId;
		}

		/**
		 * @private
		 */
		public function set typeId(value:uint):void
		{
			_typeId = value;
		}

		/**某种轨迹typeId的具体轨迹点id*/
		public function get subTypeId():uint
		{
			return _subTypeId;
		}

		/**
		 * @private
		 */
		public function set subTypeId(value:uint):void
		{
			_subTypeId = value;
		}


	}
}